/*
 * @Author       : 方木
 * @LastEditors  : 方木
 * @email        : ethan_zzz@yeah.net
 * @github       : https://github.com/ethan-Zzz
 * @Date         : 2020-08-10 09:31:25
 * @LastEditTime : 2021-04-07 10:22:34
 * @motto        : Still water run deep
 * @Description  : Modify here please
 * @FilePath     : /ant-js-admin/src/router/router.map.js
 */
import Layout from '@/components/Layout';

/**
 * 需要权限验证的路由
 */
const routerMap = [
  {
    path: '/about',
    component: Layout,
    meta: {
      title: '系统管理',
      icon: 'form',
      name: '/about',
    },
    children: [
      {
        path: '/about/index',
        component: () => import('@/views/About'),
        meta: {
          title: 'about',
          name: '/about/index',
        },
      },
      {
        path: '/about/home',
        component: () => import('@/views/Home'),
        meta: {
          title: 'home',
          name: '/about/home',
        },
      },
    ],
  },
  {
    path: '/log',
    component: Layout,
    meta: {
      title: '重点学科监测',
      icon: 'form',
      name: '/log',
    },
    children: [
      {
        path: '/log/user',
        component: () => import('@/views/demo/table.vue'),
        meta: {
          title: '重点学科监测',
          name: '/log/user',
        },
      },
      {
        path: '/log/detail',
        component: () => import('@/views/demo/detail.vue'),
        meta: {
          hidden: true,
          title: '本学科情况汇总表',
          name: '/log/detail',
        },
      },
      {
        path: '/log/detail2',
        component: () => import('@/views/demo/detail2.vue'),
        meta: {
          hidden: true,
          title: '本学科情况汇总表',
          name: '/log/detail2',
        },
      },
      {
        path: '/log/detail3',
        component: () => import('@/views/demo/detail3.vue'),
        meta: {
          hidden: true,
          title: '本学科情况汇总表',
          name: '/log/detail3',
        },
      },
      {
        path: '/log/detail4',
        component: () => import('@/views/demo/detail4.vue'),
        meta: {
          hidden: true,
          title: '本学科情况汇总表',
          name: '/log/detail4',
        },
      },
      {
        path: '/log/detail5',
        component: () => import('@/views/demo/detail5.vue'),
        meta: {
          hidden: true,
          title: '本学科情况汇总表',
          name: '/log/detail5',
        },
      },
      {
        path: '/log/detail6',
        component: () => import('@/views/demo/detail6.vue'),
        meta: {
          hidden: true,
          title: '本学科情况汇总表',
          name: '/log/detail6',
        },
      },
      {
        path: '/log/detail7',
        component: () => import('@/views/demo/detail7.vue'),
        meta: {
          hidden: true,
          title: '本学科情况汇总表',
          name: '/log/detail7',
        },
      },
    ],
  },
];
export default routerMap;
